There are two ways to edit attributes:
The Attribute menu lists all attributes that can be associated with the selected element. It can be used to create an attribute, to change the value of an existing attribute or to delete an attribute.
To edit an attribute, first select the appropriate element. You must select the entire element, not simply a character within the element; use the Esc key for this. When the element is selected, choose the attribute to be edited from the Attributes menu. Then Amaya acts according to the chosen attribute:
ismap
for an image), the
command is finished. Choosing that attribute in the menu removes it from the
selected element, if it is present, or adds it if not.
align
for a paragraph or a heading), a dialog box pops up. It contains a menu of the
available values and three buttons.
href
for an
anchor), a dialog box pops up. In this dialog box, you can edit the attribute
value; terminate the command with the Apply button. To remove
the attribute, click on the Delete button.
All attributes are displayed in the Structure view. Attributes whose value can be chosen freely are displayed in black and you can edit their value like any other character string. When the attribute value is displayed in blue, you can only change it with the Attribute menu. This ensures that only one of the correct values is chosen.